package com.novax.ex.activity.open.api;

import com.novax.ex.activity.open.model.query.RankStandingQuery;
import com.novax.ex.activity.open.model.response.RankStandingsResponse;
import com.novax.ex.common.results.ReturnResult;
import com.novax.ex.common.util.PageUtil;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springdoc.core.annotations.ParameterObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description: 交易排名赛
 * @Author: ChenXi
 * @Date: 2023/11/23 15:52
 **/
@Tag(name = "排名赛排行", description = "排名赛排行")
@FeignClient(url = "${remote.activity-service.endpoint}", name = "RankStandingsApi", contextId = "RankStandingsApi")
public interface RankStandingsApi {

    @Operation(summary = "排名赛活动配置分页查询")
    @GetMapping("/v3/public/rank-standing")
    ReturnResult<PageUtil<RankStandingsResponse>> page(@ParameterObject RankStandingQuery rankStandingQuery);

}
